package com.symbio.dao;

import com.symbio.domain.User;

import java.util.List;
import java.util.Map;

/*用户操作*/
public interface UserDao {
    public List<User> findAll();

    public User login(User user);

    public int add(User user);

    public int delete(Integer id);

    public int update(User user);

    public User find(Integer id);

    public int findTotalCount(Map<String, String[]> parameterMap);

    public List<User> findByPage(int start, int rows, Map<String, String[]> parameterMap);
}
